﻿<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<title>新增管理员</title>
<link rel="icon" href="favicon.ico" type="image/ico">


<meta name="author" content="yinqi">
<link href="css/bootstrap.min.css"  th:href="@{/css/bootstrap.min.css}" rel="stylesheet">
<link href="css/materialdesignicons.min.css" th:href="@{/css/materialdesignicons.min.css}" rel="stylesheet">
<link href="css/style.css" th:href="@{/css/style.css}" rel="stylesheet">

  <!--标签插件-->
  <link rel="stylesheet" th:href="@{/js/jquery-tags-input/jquery.tagsinput.min.css}" href="js/jquery-tags-input/jquery.tagsinput.min.css">

</head>
  
<body data-logobg="color_8" data-sidebarbg="color_8">
<div class="layout-web">
  <div class="layout-container">
    <!--左侧导航-->
    <div th:replace="common/commn :: aside"></div>
    <!--End 左侧导航-->

    <!--头部信息-->
    <div th:replace="common/commn :: #header"></div>
    <!--End 头部信息-->

    <!--页面主要内容-->
    <main class="layout-content">

      <div class="container-fluid">

        <div class="row">
          <div class="col-lg-12">
            <div class="card">
              <div class="card-toolbar clearfix">
                <h5><a href="#">书籍管理</a> << <a href="#">书籍修改</a></h5>
                <form class="card-body" method="post" action="#!" th:action="@{/book}" >
                  <input type="hidden" name="_method" value="PUT">
                  <input type="hidden" name="bid" th:value="${select1.bid}">
                  <div class="form-group">
                    <label class="col-xs-12" for="bookname">书名</label><br/>
                    <div class="col-xs-12">
                      <input class="form-control" type="text" id="bookname" th:value="${select1.bookname}" name="bookname" placeholder="书名..">
                    </div>
                  </div><br><br><br>

                  <div class="form-group">
                    <label class="col-xs-12" for="author">作者</label><br/>
                    <div class="col-xs-12">
                      <input class="form-control" type="author" id="author" th:value="${select1.author}" name="author" placeholder="作者..">
                    </div>
                  </div><br><br><br>


                  <div class="form-group">
                    <label class="col-xs-12" for="press">出版社</label><br/>
                    <div class="col-xs-12">
                      <input class="form-control" type="text" id="press" th:value="${select1.press}" name="press" placeholder="出版社..">
                    </div>
                  </div><br><br><br>

                  <div class="form-group">
                    <label class="col-xs-12" for="bookuser">借书用户</label><br/>
                    <div class="col-xs-12">
                      <input class="form-control" type="text" id="bookuser" th:value="${select1.bookuser}" name="bookuser" placeholder="借书用户..">
                    </div>
                  </div><br><br><br>






                  <div class="form-group col-md-12">
                    <button type="submit" class="btn btn-primary ajax-post">确 定</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <button type="button" class="btn btn-default" onclick="javascript:history.back(-1);return false;">返 回</button>
                  </div>



                </form>
              </div>

            </div>
          </div>

        </div>

      </div>

    </main>
    <!--End 页面主要内容-->
  </div>
</div>

<script type="text/javascript" th:src="@{/js/jquery.min.js}" src="js/jquery.min.js"></script>
<script type="text/javascript" th:src="@{/js/bootstrap.min.js}" src="js/bootstrap.min.js"></script>
<script type="text/javascript" th:src="@{/js/perfect-scrollbar.min.js}" src="js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" th:src="@{/js/main.js}" src="js/main.js"></script>



</body>
</html>